package com.bw.mapper;

import com.bw.bean.ReviewInfo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 联想
* @description 针对表【review_info】的数据库操作Mapper
* @createDate 2024-10-28 08:44:24
* @Entity com.bw.bean.ReviewInfo
*/
@Mapper
public interface ReviewInfoMapper {
    //添加
    int add(ReviewInfo reviewInfo);
    //批量添加
    int tj(List<ReviewInfo> list);
    //删除
    @Delete("delete  from reviewinfo where id=#{id}")
    int del(int id);
    //批量删除
    int delete(Integer[] id);

}




